package com.atguigu.spring6.aop.xmlaop;

import org.springframework.context.ApplicationContext;

public class TestAop {
    public static void main(String[] args) {
        ApplicationContext context = new org.springframework.context.support.ClassPathXmlApplicationContext("beanaop.xml");
        Calculator calculator = context.getBean("calculatorImpl", Calculator.class);
        calculator.add(3, 3);
    }


}
